/*
 * Copyright 2011-2020 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0.
 * See `LICENSE` in the project root for license information.
 */

package me.ijleex.mgmt.admin.test.concurrent.data.entity;

import com.google.common.base.MoreObjects;

import me.ijleex.mgmt.framework.entity.EntitySupport;

/**
 * 网站排名信息（表 t_top_1m_site）
 *
 * @author liym
 * @since 2019-03-27 17:15 新建
 */
public class Site extends EntitySupport {

    /**
     * ID PV-Rank
     */
    private Integer id;
    /**
     * 网址
     */
    private String site;

    public Site() {}

    public Site(String site) {
        this(null, site);
    }

    public Site(Integer id, String site) {
        this.id = id;
        this.site = site;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSite() {
        return this.site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("id", this.id)
                .add("site", this.site)
                .toString();
    }

}
